﻿namespace RSA
{
    /// <summary>
    /// Exported key blob definitions (WinCrypt.h)
    /// </summary>
    internal enum KeyBlobType : byte
    {
        /// <summary>
        /// Simple Key BLOB
        /// </summary>
        SimpleBlob = 0x1,
        /// <summary>
        /// Public Key BLOB
        /// </summary>
        PublicKeyBlob = 0x6,
        /// <summary>
        /// Private Key BLOB
        /// </summary>
        PrivateKeyBlob = 0x7,
        /// <summary>
        /// PlainText Key BLOB
        /// </summary>
        PlainTextKeyBlob = 0x8,
        /// <summary>
        /// Opaque Key BLOB
        /// </summary>
        OpaqueKeyBlob = 0x9,
        /// <summary>
        /// Public Key BLOB Extended
        /// </summary>
        PublicKeyBlobEx = 0xA,
        /// <summary>
        /// Symmetric Wrap Key BLOB
        /// </summary>
        SymmetricWrapKeyBlob = 0xB
    }
}